package com.lt.schoolchat.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 举报
 *
 * @TableName report
 */
@TableName(value = "report")
@Data
@ApiModel("举报请求体")
public class Report implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("举报内容")
    private String content;
    @ApiModelProperty("被举报帖子id")
    private Long reportedId;
    @ApiModelProperty("被举报用户id")
    private Long reportedUserId;
    @ApiModelProperty("状态 0-未处理 1-已处理")
    private Integer status;
    @ApiModelProperty("创建用户id")
    private Long userId;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("是否删除")
    @TableLogic
    private Integer isDelete;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
